<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


use think\Route;

//Route::rule('路由表达式','路由地址','请求类型','路由参数(数组)','变量规则(数组)')
//TP支持的请求类型 GET POST DELETE PUT *
//Route::rule('test','api/test/hello','GET|POST');
Route::POST('just','api/test/just');

Route::get('api/:version/store/getstore/:id','api/:version.Store/getStore');
Route::get('api/:version/store/getallstore','api/:version.Store/getAllStore');
Route::get('api/:version/store/getmenu/:id','api/:version.Store/getMenu');
Route::post('api/:version/store/search','api/:version.Store/searchStore');

Route::post('api/:version/token/user','api/:version.Token/getToken');

Route::post('api/:version/address','api/:version.Address/createOrUpdateAddress');



